package com.zygk.library.config;

import android.os.Environment;
import java.io.File;

/**
 * Created by Wikison on 2017/11/20.
 */
public class LibraryConstants {
  public static final String APP_NAME = "sycl";
  public static final String APP_SHARED_REFERENCE = "sycl";
  public static final String BROADCAST_AUTO_LOGIN = "BROADCAST_AUTO_LOGIN";
  public static final String BROADCAST_AUTO_LOG_OUT = "BROADCAST_AUTO_LOG_OUT";
  public static final String BROADCAST_AUTO_MALL_LOGIN = "BROADCAST_AUTO_MALL_LOGIN";

  // sd卡上文件夹的路径
  public final static String APP_ON_SD_PATH = APP_NAME + File.separatorChar;

  // 缓存存储路径
  public final static String APP_FILE_DIR =
      Environment.getExternalStorageDirectory().getAbsolutePath()
          + File.separatorChar
          + APP_ON_SD_PATH;  // 图片缓存存储路径
  public final static String SAVE_IMAGE_PATH_IMGS = APP_FILE_DIR + "imgs" + File.separatorChar;

  //网络故障
  public static final String NET_ERROR = "网络故障，请调整网络信号后重新尝试。";
}


